/*
 * Copyright (C) 2015 RGG. All rights reserved.
 */
package com.taoxeo.mqtt;

/**
 * The Class ConnectOptions.
 *
 * @author Derek
 * @version 1.0
 * @date 2015-11-18
 */
public class ConnectOptions {
	
	/** The user. */
	private String user;
	
	/** The password. */
	private String password;
	
	/** The clean session. */
	private boolean cleanSession = true;
	
	/** The keep alive interval. */
	private int keepAliveInterval = 60 * 2;
	
	private int QoS = 1;

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean isCleanSession() {
		return cleanSession;
	}

	public void setCleanSession(boolean cleanSession) {
		this.cleanSession = cleanSession;
	}

	public int getKeepAliveInterval() {
		return keepAliveInterval;
	}

	public void setKeepAliveInterval(int keepAliveInterval) {
		this.keepAliveInterval = keepAliveInterval;
	}

	public int getQoS() {
		return QoS;
	}

	public void setQOS(int qoS) {
		QoS = qoS;
	}
	
}
